<template>
	<view>
		home
	</view>
</template>

<script>
	import {
		login
	} from '@/api/index/index.js'
	export default {
		data() {
			return {

			}
		},
		created() {
			this.Setlogin()
		},
		methods: {
			Setlogin() {
				const data = {
					name: "admin",
					paw: "123456"
				}
				login(data).then((res) => {
					console.log(res)
				})
			}
		}
	}
</script>

<style>

</style>